package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 智提分考试大师对象 ztf_main_tables
 * 
 * @author ruoyi
 * @date 2025-05-30
 */
@Data
@ApiModel("课程数据实体参数")
public class ZtfAppMainTables extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id，自增涨。 */
    @Excel(name = "主键id，自增涨。")
    private String ztfid;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty("课程名")
    private String ztfName;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty("课程内容")
    private String zftContent;

    /** 高考冲刺 1，中考冲刺2， */
    @Excel(name = "高考冲刺 1，中考冲刺2，")
    private String ztfSort;

    /** 备注 */
    @Excel(name = "备注")
    private String ztfBak;

    /** 1启动 2关闭 */
    @Excel(name = "1启动 2关闭")
    private String ztfState;

    /** 图片id */
    @Excel(name = "图片id")
    private String ztfPicid;

    /** 图片地址 */
    @Excel(name = "图片地址")
    @ApiModelProperty("图片地址")
    private String ztfPicPath;

    @ApiModelProperty("图片名称")
    private String ztfPicName;

    /** ztf_video_id 视频表id关联，“，“串联 */
    @Excel(name = "ztf_video_id 视频表id关联，“，“串联")
    private String ztfVideoId;

    /** 激活码 */
    @Excel(name = "激活码")
    private String ztfActivationCode;

    /** ztf_code_sort 激活码状态 1激活，2非激活 */
    @Excel(name = "ztf_code_sort 激活码状态 1激活，2非激活")
    private Long ztfCodeSort;

    /** 总课时，多少视频记录 */
    @Excel(name = "总课时，多少视频记录")
    @ApiModelProperty("课程时长")
    private Long ztfClassHour;

    /** 以学习了多少课时，学习了多少视频，在视频表 */
    @Excel(name = "以学习了多少课时，学习了多少视频，在视频表")
    private Long ztfStudyClasshort;

    /**视频列表*/
    private List<ZtfAppVideoTable> videoList;

    private ZtfAppCodeNc ztfAppCodeNc;

    /** 获取随机UUID，使用性能更好的ThreadLocalRandom生成UUID */
    @Excel(name = "获取随机UUID，使用性能更好的ThreadLocalRandom生成UUID")
    private String fastUUID;

    //课程分类编号
    @ApiModelProperty("课程编号")
    private String dictCode;

    @ApiModelProperty("课程名称")
    private String dicName ;


    public void setZtfid(String ztfid)
    {
        this.ztfid = ztfid;
    }

    public String getZtfid()
    {
        return ztfid;
    }

    public void setZtfName(String ztfName) 
    {
        this.ztfName = ztfName;
    }

    public String getZtfName() 
    {
        return ztfName;
    }

    public void setZftContent(String zftContent) 
    {
        this.zftContent = zftContent;
    }

    public String getZftContent() 
    {
        return zftContent;
    }

    public void setZtfSort(String ztfSort) 
    {
        this.ztfSort = ztfSort;
    }

    public String getZtfSort() 
    {
        return ztfSort;
    }

    public void setZtfBak(String ztfBak) 
    {
        this.ztfBak = ztfBak;
    }

    public String getZtfBak() 
    {
        return ztfBak;
    }

    public void setZtfState(String ztfState) 
    {
        this.ztfState = ztfState;
    }

    public String getZtfState() 
    {
        return ztfState;
    }

    public void setZtfPicid(String ztfPicid) 
    {
        this.ztfPicid = ztfPicid;
    }

    public String getZtfPicid() 
    {
        return ztfPicid;
    }

    public void setZtfPicPath(String ztfPicPath) 
    {
        this.ztfPicPath = ztfPicPath;
    }

    public String getZtfPicPath() 
    {
        return ztfPicPath;
    }

    public void setZtfVideoId(String ztfVideoId) 
    {
        this.ztfVideoId = ztfVideoId;
    }

    public String getZtfVideoId() 
    {
        return ztfVideoId;
    }

    public void setZtfActivationCode(String ztfActivationCode) 
    {
        this.ztfActivationCode = ztfActivationCode;
    }

    public String getZtfActivationCode() 
    {
        return ztfActivationCode;
    }

    public void setZtfCodeSort(Long ztfCodeSort) 
    {
        this.ztfCodeSort = ztfCodeSort;
    }

    public Long getZtfCodeSort() 
    {
        return ztfCodeSort;
    }

    public void setZtfClassHour(Long ztfClassHour) 
    {
        this.ztfClassHour = ztfClassHour;
    }

    public Long getZtfClassHour() 
    {
        return ztfClassHour;
    }

    public void setZtfStudyClasshort(Long ztfStudyClasshort) 
    {
        this.ztfStudyClasshort = ztfStudyClasshort;
    }

    public Long getZtfStudyClasshort() 
    {
        return ztfStudyClasshort;
    }

    public void setFastUUID(String fastUUID) 
    {
        this.fastUUID = fastUUID;
    }

    public String getFastUUID() 
    {
        return fastUUID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ztfid", getZtfid())
            .append("ztfName", getZtfName())
            .append("zftContent", getZftContent())
            .append("ztfSort", getZtfSort())
            .append("ztfBak", getZtfBak())
            .append("ztfState", getZtfState())
            .append("ztfPicid", getZtfPicid())
            .append("ztfPicPath", getZtfPicPath())
            .append("ztfVideoId", getZtfVideoId())
            .append("ztfActivationCode", getZtfActivationCode())
            .append("ztfCodeSort", getZtfCodeSort())
            .append("ztfClassHour", getZtfClassHour())
            .append("ztfStudyClasshort", getZtfStudyClasshort())
            .append("fastUUID", getFastUUID())
            .toString();
    }
}
